package com.zw.admin.server.model;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Builder
@Accessors(chain = true)
@Table(name = "bsn_strategy_device")
public class StrategyDevice {
    @Id
    private Integer id;
    //设备ID
    private String deviceId;
    //策略ID
    private Integer strategyId;
    //结果说明
    private String result;
    //执行状态：0失败、1成功
    private Integer state;

    private Date create_time;

    private Date update_time;
}
